package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsSubjectDO;
import com.macro.mall.model.cms.CmsSubjectQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsSubjectMapper  extends BaseMapper<CmsSubjectDO> {
    long countByExample(CmsSubjectQuery example);

    int deleteByExample(CmsSubjectQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsSubjectDO record);

    int insertSelective(CmsSubjectDO record);

    List<CmsSubjectDO> selectByExampleWithBLOBs(CmsSubjectQuery example);

    List<CmsSubjectDO> selectByExample(CmsSubjectQuery example);

    CmsSubjectDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsSubjectDO record, @Param("example") CmsSubjectQuery example);

    int updateByExampleWithBLOBs(@Param("record") CmsSubjectDO record, @Param("example") CmsSubjectQuery example);

    int updateByExample(@Param("record") CmsSubjectDO record, @Param("example") CmsSubjectQuery example);

    int updateByPrimaryKeySelective(CmsSubjectDO record);

    int updateByPrimaryKeyWithBLOBs(CmsSubjectDO record);

    int updateByPrimaryKey(CmsSubjectDO record);
}
